package starsservice.com.kc.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import starsservice.com.kc.bean.Account;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-12-13
 */
public interface AccountMapper extends BaseMapper<Account> {
    @Select("select account_id,account_job_number,account_phone,account_name,account_sex,account_avatar,stats from Account ${ew.customSqlSegment}")
    Account selectByphone(@Param(Constants.WRAPPER) Wrapper wrapper);

    @Select("select account_id,account_job_number,account_phone,account_name,account_sex,account_avatar,stats from Account ${ew.customSqlSegment}")
    Account selectByjobnumber(@Param(Constants.WRAPPER) Wrapper wrapper);
}
